cmake_minimum_required(VERSION 3.10)
project(hx_rockit)

# 设置C++标准
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

include(${CMAKE_SOURCE_DIR}/cmake/ZHDCMakeHelper.cmake NO_POLICY_SCOPE)

add_definitions(-fno-rtti)
add_definitions(-std=c++11 -Wno-attributes -Wno-deprecated-declarations -DANDROID_STL=c++_shared)

# 添加sdk/include目录作为包含目录
# include_directories(${CMAKE_SOURCE_DIR}/sdk/include)
include_directories(${CMAKE_SOURCE_DIR}/third_party/include/mpp)
include_directories(${CMAKE_SOURCE_DIR}/third_party/include/cbb)

# 添加sdk/lib64目录作为库目录
# link_directories(${CMAKE_SOURCE_DIR}/sdk/lib64)
link_directories(${CMAKE_SOURCE_DIR}//third_party/lib/mpp)
link_directories(${CMAKE_SOURCE_DIR}//third_party/lib/cbb)
# 添加src子目录
# add_subdirectory(src)
add_subdirectory(FWCamera_cbb)
add_subdirectory(camera_manage_test)